package com.zej.mapper;

import com.zej.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 一缕茜阳
 * @date 2021/8/11
 */
public interface UserMapper {
    List<User> getUserPage(@Param("pageNum") int pageNum,
                           @Param("pageSize") int pageSize);

    User getUserById(@Param("userName") String name, @Param("phone") String phone);

    User getUser(Map<String, Object> map);
}
